html {
  box-sizing: border-box;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

#above-nav {
  background-color: var(--vscode-editor-background);
}

nav {
  /*background-color: var(--vscode-editor-background);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);*/

  border-bottom: 2px solid #a52e43;
}

input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;

  border-radius: 15px;
}

.standard-button-size {
  width: 6.5rem;
}

/* give hidden more power if added on advanced-option so it can cope with stuff like grid and flex */
.advanced-option[hidden] {
  display: none !important;
}

#burger-menu {
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 30px;
  height: 3px;
  margin: 6px 0;
}

/* nav overlay */
#nav-overlay {
  position: fixed;
  /* Maximum width to ensure it's not too wide */
  max-width: 70%;
  transition: transform 0.3s ease-out;
  /* Add a smooth transition effect */
  padding: 20px;
}

.overlay-content {
  padding: 20px;
}

.overlay-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.overlay-item {
  margin-bottom: 10px;
}

.overlay-item a {
  text-decoration: none;
  font-size: 18px;
}

/* examples auto-suggestion */
ul#examples-list {
  position: absolute;
  z-index: 10;
  list-style: none;
  width: 100%;
  /* background-color: var(--vscode-editor-background); */
  /* background-color: var(--vscode-input-background); */
  /* border-radius: 0 0 5px 5px; */
  /* 5px if outside of the input div */
  margin-top: 35px;
  /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); */

  overflow-y: auto;
  /* window height dependend max-height */
  max-height: 20vh;
}

.examples-list-suggestion {
  padding: 3px 10px;
  border-radius: 0 0 5px 5px;
}

.examples-list-suggestion.hovered {
  background-color: var(--vscode-inputOption-hoverBackground);
}

.examples-list-suggestion:hover:not(.unhovered) {
  background-color: var(--vscode-inputOption-hoverBackground);
  /* background-color: var(--vscode-button-hoverBackground); */
}

image {
  -webkit-user-drag: none;
}
